package com.sz.framework.mvp;

import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.StringRes;

public interface IBaseView {
    void initTitleBar();
    void showToastMessage(String msg);
    void showToastMessage(@StringRes int resId);
    void showLoadingDialog(String msg);
    void showLoadingDialog();
    void cancelLoadingDialog();
    void onError(String msg);
    /**
     * 登陆
     */
    void goLogin();
    Context getContext();
    @LayoutRes
    int generateLayout();
}
